﻿using B.S.Orders.ErrorCord;
using MediatR;

namespace B.S.Orders.Write.Api.Application.Command.DocumentsCommand
{
    public class CreateDocumentsCommand : IRequest<APIResult<object>>
    {
        /// <summary>
        /// 单据主题
        /// </summary>
        public string DocumentsName { get; set; }
        /// <summary>
        /// 单据编号
        /// </summary>
        public string DocumentsNum { get; set; }
        /// <summary>
        /// 关联项目
        /// </summary>
        public int ProjectId { get; set; }
        /// <summary>
        /// 制单人员
        /// </summary>
        public string personnel { get; set; }
        /// <summary>
        /// 制单日期
        /// </summary>
        public DateTime Time { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool Del { get; set; }
    }
}
